package com.github.raffle.construction.decorator;

/**
 * @author Stephen
 * @date 2020/6/10 0:10
 */
public class FilletDecorator extends Decorator {

    public FilletDecorator(ChineseHamburger chineseHamburger) {
        super(chineseHamburger);
    }

    private void decorate() {
        System.out.println("fillet decorate cost");
    }

    @Override
    public void cost() {
        decorate();
        super.cost();
    }
}
